package de.tabuma.logging.entity;

import javax.jdo.annotations.*;
import java.io.*;

/**
 *
 * @author alefen
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class LogField implements Serializable {
    
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    public Long getId() {
        return id;
    }

    @Persistent
    int logEntryId;
    public int getLogEntryId() {
        return logEntryId;
    }
    public void setLogEntryId(int logEntryId) {
        this.logEntryId = logEntryId;
    }

    @Persistent
    String fieldName;
    public String getFieldName() {
        return fieldName;
    }
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }


    @Persistent
    String fieldValue;
    public String getFieldValue() {
        return fieldValue;
    }
    public void setFieldValue(String fieldValue) {
        this.fieldValue = fieldValue;
    }

}
